<template>
  <router-view />
</template>

<script setup>
import useSettingsStore from '@/store/modules/settings'
import { handleThemeStyle } from '@/utils/theme'

onMounted(() => {
  nextTick(() => {
    // 初始化主题样式
    handleThemeStyle(useSettingsStore().theme)
  })
})
</script>

<style>
  .app-content {
    margin: 20px;
  }
  .m-b-10 {
    margin-bottom: 10px;
  }
  .el-upload--picture-card {
    width: 70px !important;
    height: 70px !important;
  }
  .el-upload-list__item {
    width: 70px !important;
    height: 70px !important;
  }
</style>
